import React, { PureComponent } from 'react';
import { connect } from 'dva';
import styles from "./styles.less";

@connect(({ faPiaoState }) => ({
    faPiaoStates: faPiaoState.list
}))
export default class extends PureComponent {
    render() {
        const { faPiaoStates, id } = this.props;
        console.log("LIST of fapiaostate ", faPiaoStates);

        //var item = list.find(r => r.id === id);

        //return <span className={styles.ColorCol} >{item.objectName}</span>;
        return <span className={styles.ColorCol} >ss</span>;
    }
}